package yueyong.salarymanagement.module.business.salary.domain.vo;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * Copyright: yueyong (c) 2022
 *
 * @author he.shaorong
 * @version 1.0
 * @date 2022/2/4
 */
@Data
public class SalaryImportDataVO {
    private boolean isSuccess;
    private long salaryId;

    //excel表头
    private List<ItemData> excelTitles;

//    //表头索引 和列名
//    private Map<Integer, String> titleMap;

    //表头List
    private List<ItemData> titleList;

//    //详细信息
//    private List<EmployeeSalaryDataVO> excelDetailInfos;

    //详细信息
    private List<EmployeeSalaryDataVO> excelDetailInfosNew;

    // 关键信息 名字，电话，邮件 salaryId
    private TitleMapsData excelTitleMaps;

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public long getSalaryId() {
        return salaryId;
    }

    public void setSalaryId(long salaryId) {
        this.salaryId = salaryId;
    }

    public List<ItemData> getExcelTitles() {
        return excelTitles;
    }

    public void setExcelTitles(List<ItemData> excelTitles) {
        this.excelTitles = excelTitles;
    }

//    public List<EmployeeSalaryDataVO> getExcelDetailInfos() {
//        return excelDetailInfos;
//    }
//
//    public void setExcelDetailInfos(List<EmployeeSalaryDataVO> excelDetailInfos) {
//        this.excelDetailInfos = excelDetailInfos;
//    }

    public TitleMapsData getExcelTitleMaps() {
        return excelTitleMaps;
    }

    public void setExcelTitleMaps(TitleMapsData excelTitleMaps) {
        this.excelTitleMaps = excelTitleMaps;
    }

//    public Map<Integer, String> getTitleMap() {
//        return titleMap;
//    }
//
//    public void setTitleMap(Map<Integer, String> titleMap) {
//        this.titleMap = titleMap;
//    }

    public List<ItemData> getTitleList() {
        return titleList;
    }

    public void setTitleList(List<ItemData> titleList) {
        this.titleList = titleList;
    }

    public List<EmployeeSalaryDataVO> getExcelDetailInfosNew() {
        return excelDetailInfosNew;
    }

    public void setExcelDetailInfosNew(List<EmployeeSalaryDataVO> excelDetailInfosNew) {
        this.excelDetailInfosNew = excelDetailInfosNew;
    }
}
